From 79c03b80d83944dcfcdd02993d60f08e13afc424 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 15 Sep 2013 06:15:22 +0000 Subject: [PATCH] Commit 'ptesto', a script for running valgrinds in parallel. Really crude, but still kind of handy. --- gpsbabel/ptesto | 7 +++++++ gpsbabel/testo | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 gpsbabel/ptesto diff --git a/gpsbabel/ptesto b/gpsbabel/ptesto new file mode 100755 index 000000000..9778acad8 --- /dev/null +++ b/gpsbabel/ptesto @@ -0,0 +1,7 @@ +for i in testo.d/*.test +do + t=${i%.test} + t=${t##testo.d/} + fmts="$fmts \"./vtesto $t\"" +done +eval parallel -j 8 -- "$fmts" diff --git a/gpsbabel/testo b/gpsbabel/testo index faef2dad6..6903ca393 100755 --- a/gpsbabel/testo +++ b/gpsbabel/testo @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash GPSBABEL_FREEZE_TIME=y export GPSBABEL_FREEZE_TIME -- 2.30.2